package com.tcm.entity.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 试卷练习判题DTO
 * @author Guqier
 * @version 1.0
 * @date 2023/9/7 20:58
 */
@Data
public class CorrectExerciseDto {

    /**
     * 练习ID
     */
    @NotNull
    private Long exerciseId;

    /**
     * 耗时
     */
    private Integer seconds;

    /**
     * 题目作答信息
     */
    @NotNull
    private List<ItemCorrectDto> dtos;

}
